<?php
if(!defined('IN_WOGU')) {
    exit('Access Denied');
}

class Session_Files
{
    function init($config) {
        ini_set('session.save_handler', 'files');
        if(isset($config['savepath'])) {
            $path = $config['savepath'];
            session_save_path($path);
        }
        session_start();
    }
}